package org.flashbrighton.as3bots.logic
{
	import org.flashbrighton.as3bots.collision.CollidableType;
	import org.flashbrighton.as3bots.events.BotEvent;

	public class RichsBotLogic implements IBotLogic
	{
		private var _engineVal:Number;
		private var _rotationVal:Number;
		
		private var _state:String
		
		public function RichsBotLogic ()
		{
			_engineVal = -1;
			_rotationVal = 0;
		}

		public function run ():void
		{
		}
		
		
		public function notify (event:BotEvent):void
		{
			if (event.targetType == CollidableType.WALL){
				_engineVal = 0;
			}
		}
		
		
		public function get enginePercent():Number
		{
			return _engineVal;
		}
		
		
		public function get rotatorPercent():Number
		{
			return _rotationVal;
		}
		
	}
}